class CreateDisciplineClasses < ActiveRecord::Migration
  def self.up
    create_table :discipline_classes do |t|
      t.column :plano_de_estudo, :string, :limit => 64, :null => false
      t.column :data, :date, :null => false
      t.column :hora, :string, :null => false
      t.timestamps
    end
  end

  def self.down
    drop_table :discipline_classes
  end
end
